function fillOtherHouseInfo(houseNumber ,realHouseClientInfo){
	var vtbody = $('otherHouseInfo');
	var oRow1 = vtbody.insertRow();
	var oCell1_1=oRow1.insertCell(0);
	oCell1_1.className ='aux_intable_td1';
	oCell1_1.vAlign="top";
	var oCell1_2=oRow1.insertCell(1);
	oCell1_2.className ='aux_intable_td2';
	oCell1_2.vAlign="top";
	oCell1_1.innerHTML="相关房号：";
	if(houseNumber == "")
	   oCell1_2.innerHTML=houseNumber = "";
	else
	   oCell1_2.innerHTML=houseNumber;

	var oRow2 = vtbody.insertRow(vtbody.rows.length);
	var oCell1_3=oRow2.insertCell(0);
	oCell1_3.className ='aux_intable_td1';
	oCell1_3.vAlign="top";
	var oCell1_4=oRow2.insertCell(1);
	oCell1_4.className ='aux_intable_td2';
	oCell1_4.vAlign="top";
	oCell1_3.innerHTML="业 主:";
	if(realHouseClientInfo == "")
	   oCell1_4.innerHTML= "";
	else
	   oCell1_4.innerHTML=realHouseClientInfo;
}
function loadClient(){
		var cur = document.getElementById('clientId');
		var myinput = document.createElement("<input type='checkbox' name='cName' value='"+arguments[0]+"' class='validate-one-required'>");
		var node = document.createTextNode(" "+arguments[0]+" ");
		cur.appendChild(myinput);
		cur.appendChild(node);
}
function getClientName(){
	var str = "";
	var obj = $('clientId').getElementsByTagName("INPUT");
    for(var j=0;j<obj.length;j++){
		if(obj[j].checked)
      	 str = str+obj[j].value+",";
   }
   str = str.substr(0,str.length-1);
   return str;
}
function buildClientInfo(houseNumber,coalitionHouseNumber ,realHouseClientInfo){
	var str=houseNumber+","+coalitionHouseNumber+","+realHouseClientInfo+";";
	return str;
}

